SPB Git

Repository Public

layout.tsx 471 B 14 lines tsx

1import { Footer, Header } from "@/components/SiteChrome";2import type { Locale } from "@/lib/i18n";34export default async function SiteLayout({ children, params }: { children: React.ReactNode; params: Promise<{ locale: string }> }) {5  const locale = (await params).locale as Locale;6  return (7    <>8      <Header locale={locale} />9      <main id="main" className="mx-auto max-w-[1400px] px-4 sm:px-6">{children}</main>10      <Footer locale={locale} />11    </>12  );13}14
Files main
Menu

Theme